<form id="pagerForm" method="post" action="/index.php?act=order&st=main">
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="sales_customer" value="{$sales_customer}" />

	<input type="hidden" name="sales_name" value="{$sales_name}" />
	<input type="hidden" name="sales_customer" value="{$sales_customer}" />
	<input type="hidden" name="agreement_no" value="{$agreement_no}" />
	<input type="hidden" name="material" value="{$material}" />
	<input type="hidden" name="produce_name" value="{$produce_name}" />
	<input type="hidden" name="formatg" value="{$formatg}" />
</form>

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="/index.php?act=order&st=main" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					销售经理：<input type="text" name="sales_name" value="{$sales_name}" />
				</td>
				<td>
					购货单位：<input type="text" name="sales_customer" value="{$sales_customer}" />
				</td>				
				<td>
					合同号：<input type="text" name="agreement_no" value="{$agreement_no}" />
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
				<li><a class="button" href="/index.php?act=order&st=senior" target="dialog" mask="true" title="高级查询框"><span>高级检索</span></a></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="/index.php?act=order&st=orderAdd" target="dialog" rel="add_order" title="添加订单" mask="true" width="950" height="450"><span>添加</span></a></li>
			<li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids" href="/index.php?act=order&st=orderDelete" class="delete" postType="string"><span>删除</span></a></li>
			<li><a class="edit" href="/index.php?act=order&st=orderEdit&id={sid_user}" target="dialog" rel="edit_order" title="编辑订单" mask="true" width="950" height="450"><span>修改</span></a></li>
			<li><a class="icon" href="/index.php?act=order&st=get_betch_model" target="dwzExport" targetType="navTab" title="下载批量上传模板?"><span>批量上传模板下载</span></a></li>
			<li><a class="icon" href="/index.php?act=order&st=orderExport" target="dwzExport" targetType="navTab" title="确定要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th width="80">销售经理</th>
				<th width="80">购货单位</th>
				<th width="80">合同编号</th>
				<th width="80">产品名称</th>
				<th width="80">材质</th>
				<th width="80">规格</th>
				<th width="80">合同重量</th>
				<th width="80">下单重量</th>
				<th width="80">出厂重量</th>
				<th width="80">运输方式</th>
				<th width="80">合同回签时间</th>
				<th width="80">操作管理员</th>
				<th width="80">最后操作时间</th>
			</tr>
		</thead>
		<tbody>
			{foreach item=order from=$order_list}
			<tr target="sid_user" rel="{$order.order_id}">
				<td><input name="ids" value="{$order.order_id}" type="checkbox"></td>
				<td>{$order.sales_name}</td>
				<td>{$order.sales_customer}</td>
				<td>{$order.agreement_no}</td>
				<td>{$order.produce_name}</td>
				<td>{$order.material}</td>
				<td>{$order.format}</td>
				<td>{$order.agreement_weight}</td>
				<td>{$order.order_weight}</td>
				<td>{$order.factory_weight}</td>
				<td>{$order.transport}</td>
				<td>{$order.agreement_sign_date}</td>
				<td>{$order.editer}</td>
				<td>{$order.raw_update_time}</td>
			</tr>
			{/foreach}
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				{foreach item=num from=$shoNum}
				<option value="{$num}" {if $numPerPage eq $num}selected{/if}>{$num}</option>
				{/foreach}
			</select>
			<span>条，共{$total}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$total}" numPerPage="{$numPerPage}" pageNumShown="{$pageNumShown}" currentPage="{$pageNum}"></div>
	</div>
</div>